﻿using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace TomAndJerryMidnightSnack
{
    class LevelTask9:LevelTask
    {

        public LevelTask9()
        {
            CountDown = 0;
            CountUp = 4;
            CountLeft = 2;
            CountRight = 2;
            CountLoXo = 7;

            PhomatList = new List<Vector2>();
            PhomatList.Add(new Vector2 (3,9));
            PhomatList.Add(new Vector2 (5,3));
            PhomatList.Add(new Vector2 (7,1));
            PhomatList.Add(new Vector2 (11,7));

            KeyList = new List<Vector2>();
            KeyList.Add(new Vector2(1, 5));
            KeyList.Add(new Vector2(7, 7));

            HoSauList = new List<Vector2>();
            HoSauList.Add(new Vector2(2,6));
            HoSauList.Add(new Vector2(3,7));
            HoSauList.Add(new Vector2(4,4));
            HoSauList.Add(new Vector2(4,6));
            HoSauList.Add(new Vector2(4,8));
            HoSauList.Add(new Vector2(5,5));
            HoSauList.Add(new Vector2(5,9));
            HoSauList.Add(new Vector2(5,11));
            HoSauList.Add(new Vector2(6,2));
            HoSauList.Add(new Vector2(6,10));
            HoSauList.Add(new Vector2(7,3));
            HoSauList.Add(new Vector2(7,5));
            HoSauList.Add(new Vector2(7,9));
            HoSauList.Add(new Vector2(8,4));
            HoSauList.Add(new Vector2(8,8));
            HoSauList.Add(new Vector2(9,5));
            HoSauList.Add(new Vector2(9,7));
            HoSauList.Add(new Vector2(10,6));
            HoSauList.Add(new Vector2(10,8));

            WindList = new List<Vector2>();
            WindList.Add(new Vector2(2,8));
            WindList.Add(new Vector2(3, 3));
            WindList.Add(new Vector2(6, 6));
            WindList.Add(new Vector2(8, 2));
            WindList.Add(new Vector2(8, 10));
            WindList.Add(new Vector2(10, 4));

            XoayList1 = new List<Vector2>();
            XoayList2 = new List<Vector2>();

            DoorStartLocation = MatrixLocation.getInstance().ListLocationDoorLeft[6];
            DoorStopLocation = MatrixLocation.getInstance().ListLocationDoorLeft[4];

            StartLocation = new Vector2(6,12);
            StopLocation = new Vector2(4,10);

            Direct = (int) MatrixLocation.DIRECTIONS.DOWN;
            DirectWin = (int)MatrixLocation.DIRECTIONS.UP;

            CurrentFrame = 0;

            UpListReady = new List<Vector2>();
            DownListReady = new List<Vector2>();
            LeftListReady = new List<Vector2>();
            RightListReady = new List<Vector2>();
        }
    }
}
